package cn.wolfcode.trip.base.service;

import cn.wolfcode.trip.base.domain.ProductType;
import cn.wolfcode.trip.base.query.QueryObject;
import com.github.pagehelper.PageInfo;

import java.util.List;

public interface IProductTypeService {
    PageInfo<ProductType> queryProductType(QueryObject qo);

    void saveOrUpdate(ProductType entity);

    void delete(Long id);

    ProductType getById(Long id);

    List<ProductType> listAll();
}
